package com.alibaba.citrus.ots.sales.plan.repository;

import com.alibaba.citrus.ots.sales.plan.dto.api.request.PageQueryStrategyFactorRequest;
import com.alibaba.citrus.ots.sales.plan.dto.api.request.StrategyFactorRequest;
import com.alibaba.citrus.ots.sales.plan.sdo.StrategyFactorSDO;
import com.alibaba.cz.base.tool.page.PageResult;

import java.util.List;

public interface StrategyFactorRepository {
    StrategyFactorSDO queryStrategyFactor(StrategyFactorRequest strategyFactorRequest);

    String createStrategyFactor(StrategyFactorSDO strategyFactorSDO);

    PageResult<List<StrategyFactorSDO>> pageQueryStrategyFactorList(PageQueryStrategyFactorRequest pageQueryStrategyFactorRequest);

    Integer editStrategyFactor(StrategyFactorSDO strategyFactorSDO);
}
